package com.ruoyi.system.service.customer;

import com.ruoyi.system.domain.customer.CustomerLogin;

public interface CustomerLoginService {

    /**
     * 根据账号和密码查询
     * @param customerLogin
     * @return
     */
    public CustomerLogin selectCustomerLogin(CustomerLogin customerLogin);

    /**
     * 添加信息
     * @param customerLogin
     * @return
     */
    public int addCustomerLogin(CustomerLogin customerLogin);

    /**
     * 修改信息
     * @param customerLogin
     * @return
     */
    public int editCustomerLogin(CustomerLogin customerLogin);
    public CustomerLogin findCustListById(Long customerId);
    /**
     * 停用客户账号
     * @param customerLogin
     * @return
     */
    public int updateCustomerState(CustomerLogin customerLogin);
    public int deleteCustomerLoginById(Integer customerId);
}
